#include<iostream>

class Test
{
    public:
    Test(int a)
    {
        std::cout << "构造函数" << std::endl;
        this->m_a = a;
    }
    void show()
    {
         //this指针：由编译器自己生成，指向当前对象
        std::cout <<this->m_a << std::endl;
    }
    private:
        int m_a;
};
int main()
{
   
    Test t(1);
    t.show();

    return 0;
}